package com.shop.pojo.menus;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

//后台菜单管理
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_menu")
public class Sys_Menu   {
    private Long menu_id;
    private Long parent_id;//父菜单ID，一级菜单为0',
    private String name;//菜单名称
    private String url;//菜单URL
    private String perms;//授权(多个用逗号分隔，如：user:list,user:create)',
    private int type;//类型   0：目录   1：菜单   2：按钮',
    private String icon;//菜单图标',
    private int order_num;//排序',
}
